    <%@page import="com.javaleague.Constantes" %>
    <%
        HttpSession sesion = request.getSession();
        sesion.invalidate();
    %>
    
    <p>
        Usted ser&aacute; desconectado en <span id="timer">5</span>
    </p>
    
    <script type="text/javascript">
        var time = document.getElementById('timer');
        
        setInterval(function(){
            var valor = time.innerHTML;
            if (valor > 1) {
                valor = --valor;
                time.innerHTML = valor;
            } else
                location.href = <%= Constantes.Rutas.PATCH %> + "index.jsp";
        }, 1000);
    </script>